<template>
  <div class="m-crumbs">
    <el-breadcrumb separator=">">
      <el-breadcrumb-item>
        <a href="/">校园网上食堂</a>
      </el-breadcrumb-item>
      <el-breadcrumb-item>
        <a :href="'/products?category='+crumb.category">{{crumb.category}}</a>
      </el-breadcrumb-item>
      <el-breadcrumb-item>
        <a href="#">{{crumb.shopName}}</a>
      </el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  props: ['crumb']
}
</script>
